<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>您的验证码</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f9fafb;
            padding: 20px;
        }

        .email-container {
            max-width: 600px;
            margin: 0 auto;
            background-color: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .email-header {
            background: linear-gradient(135deg, #c10606, #cb2e2e);
            color: white;
            padding: 30px 40px;
        }

        .email-header h1 {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .email-header p {
            opacity: 0.9;
            font-weight: 300;
        }

        .email-body {
            padding: 40px;
        }

        .greeting {
            margin-bottom: 25px;
            font-size: 16px;
        }

        .instructions {
            margin-bottom: 35px;
            color: #4b5563;
        }

        .verification-code {
            background-color: #f3f4f6;
            border-radius: 8px;
            padding: 30px 20px;
            text-align: center;
            margin-bottom: 35px;
        }

        .code {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: 8px;
            color: #c10606;
            margin: 0;
            letter-spacing: 10px;
            display: inline-block;
            padding-left: 10px;
        }

        .expiry-note {
            margin-top: 15px;
            font-size: 14px;
            color: #6b7280;
        }

        .additional-info {
            margin-bottom: 30px;
            color: #4b5563;
        }

        .contact-info {
            color: #4b5563;
            font-size: 14px;
        }

        .email-footer {
            background-color: #f9fafb;
            padding: 25px 40px;
            border-top: 1px solid #f3f4f6;
            color: #6b7280;
            font-size: 12px;
        }

        .footer-links {
            margin-top: 15px;
        }

        .footer-links a {
            color: #c10606;
            text-decoration: none;
            margin-right: 20px;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        @media (max-width: 600px) {
            .email-body, .email-header, .email-footer {
                padding: 25px 20px;
            }

            .code {
                font-size: 28px;
                letter-spacing: 6px;
            }
        }
    </style>
</head>
<body>
    <div class="email-container">
        <div class="email-header">
            <h1>邮箱验证</h1>
            <p>请使用以下验证码完成您的操作</p>
        </div>

        <div class="email-body">
            <p class="greeting">您好，</p>

            <p class="instructions">
                我们收到了您的验证请求。请使用下方的验证码完成验证流程：
            </p>

            <div class="verification-code">
                <p class="code">{{ v_code }}</p>
                <p class="expiry-note">此验证码将在15分钟后过期</p>
            </div>

            <p class="additional-info">
                如果您没有发起此请求，可能是其他用户误输入了您的邮箱地址，您可以忽略此邮件。
            </p>

            <p class="contact-info">
                如有任何疑问，请联系我们的团队。
            </p>
        </div>

        <div class="email-footer">
            <p>这是一封自动发送的邮件，请勿直接回复。</p>
            <div class="footer-links">
                <a href="#">帮助中心</a>
                <a href="#">联系我们</a>
                <a href="#">隐私政策</a>
            </div>
        </div>
    </div>
</body>
</html>